package com.songcy.dao;

import java.util.List;

import com.dao.ObjectDao;
import com.pro.bean.Users;

public class UserDao extends ObjectDao{
	
	public List getUserByUnitId(int Unitid)
	{
		String sql = "select * from Users where unitid = "+Unitid;
		return super.findAll(sql, new Users());
	}
	
}
